<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class PelEntryNumber</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/AbstractClass_logo.png"
														alt="Abstract Class"
														title="Abstract Class"
														style="vertical-align: middle"> PelEntryNumber</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Class for holding numbers.</p>
<p class="description"><p>This class can hold numbers, with range checks.</p></p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">author:</span> Martin Geisler &lt;<a href="mailto:mgeisler@users.sourceforge.net">mgeisler@users.sourceforge.net</a>&gt;</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_PelEntryNumber.php.html">/PelEntryNumber.php</a> (line <span class="field"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a77">77</a></span>)
		</p>
		
				
		<pre><a href="../PEL/PelEntry.html">PelEntry</a>
   |
   --PelEntryNumber</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../PEL/PelEntryShort.html">PelEntryShort</a>
					</td>
					<td>
											Class for holding signed shorts.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../PEL/PelEntrySShort.html">PelEntrySShort</a>
					</td>
					<td>
											Class for holding signed shorts.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../PEL/PelEntryLong.html">PelEntryLong</a>
					</td>
					<td>
											Class for holding unsigned longs.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../PEL/PelEntrySLong.html">PelEntrySLong</a>
					</td>
					<td>
											Class for holding signed longs.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../PEL/PelEntryByte.html">PelEntryByte</a>
					</td>
					<td>
											Class for holding unsigned bytes.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../PEL/PelEntrySByte.html">PelEntrySByte</a>
					</td>
					<td>
											Class for holding signed bytes.
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">int</span>
					<a href="#$dimension" title="details" class="var-name">$dimension</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">int</span>
					<a href="#$max" title="details" class="var-name">$max</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">int</span>
					<a href="#$min" title="details" class="var-name">$min</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">array</span>
					<a href="#$value" title="details" class="var-name">$value</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																								<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addNumber" title="details" class="method-name">addNumber</a>
											(<span class="var-type">int|array</span>&nbsp;<span class="var-name">$n</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#formatNumber" title="details" class="method-name">formatNumber</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$number</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$brief</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getBytes" title="details" class="method-name">getBytes</a>
											(<span class="var-type">PelByteOrder</span>&nbsp;<span class="var-name">$o</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getText" title="details" class="method-name">getText</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$brief</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">int|array</span>
										<a href="#getValue" title="details" class="method-name">getValue</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/AbstractMethod.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#numberToBytes" title="details" class="method-name">numberToBytes</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$number</span>, <span class="var-type">PelByteOrder</span>&nbsp;<span class="var-name">$order</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setValue" title="details" class="method-name">setValue</a>
											(<span class="var-type">int|array</span>&nbsp;<span class="var-name">$value...</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setValueArray" title="details" class="method-name">setValueArray</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#validateNumber" title="details" class="method-name">validateNumber</a>
											(<span class="var-type">int|array</span>&nbsp;<span class="var-name">$n</span>)
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
<a name="var$dimension" id="$dimension"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$dimension</span>
			 = <span class="var-default"> 1</span>			(line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a114">114</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The dimension of the number held.</p>
<p class="description"><p>Normal numbers have a dimension of one, pairs have a dimension of  two, etc.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$max" id="$max"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$max</span>
						(line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a104">104</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The maximum allowed value.</p>
<p class="description"><p>Any attempt to change the value over this variable will result in  a <a href="../PEL/Exception/PelOverflowException.html">PelOverflowException</a> being thrown.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$min" id="$min"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$min</span>
						(line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a94">94</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The minimum allowed value.</p>
<p class="description"><p>Any attempt to change the value below this variable will result  in a <a href="../PEL/Exception/PelOverflowException.html">PelOverflowException</a> being thrown.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$value" id="$value"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$value</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a84">84</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The value held by this entry.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../PEL/PelEntry.html">PelEntry</a></span></p>
					<blockquote>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../PEL/PelEntry.html#var$bytes">PelEntry::$bytes</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../PEL/PelEntry.html#var$components">PelEntry::$components</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../PEL/PelEntry.html#var$format">PelEntry::$format</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../PEL/PelEntry.html#var$ifd_type">PelEntry::$ifd_type</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../PEL/PelEntry.html#var$tag">PelEntry::$tag</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodaddNumber" id="addNumber"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">addNumber</span> (line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a215">215</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add a number.</p>
<p class="description"><p>This appends a number to the numbers already held by this entry,  thereby increasing the number of components by one.</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addNumber
		</span>
					(<span class="var-type">int|array</span>&nbsp;<span class="var-name">$n</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int|array</span>
				<span class="var-name">$n</span><span class="var-description">: the number to be added.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodformatNumber" id="formatNumber"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">formatNumber</span> (line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a280">280</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Format a number.</p>
<p class="description"><p>This method is called by <a href="../PEL/PelEntryNumber.html#methodgetText">getText</a> to format numbers.  Subclasses should override this method if they need more  sophisticated behavior than the default, which is to just return  the number as is.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> the number formatted as a string suitable for  display.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			formatNumber
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$number</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$brief</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$number</span><span class="var-description">: the number which will be formatted.</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$brief</span><span class="var-description">: it could be that there is both a verbose and a  brief formatting available, and this argument controls that.</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../PEL/PelEntryRational.html#methodformatNumber">PelEntryRational::formatNumber()</a>
								: Format a rational number.
							</li>
					<li>
				<a href="../PEL/PelEntrySRational.html#methodformatNumber">PelEntrySRational::formatNumber()</a>
								: Format a rational number.
							</li>
				</ul>
	</div>
<a name="methodgetBytes" id="getBytes"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getBytes</span> (line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a249">249</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Turn this entry into bytes.</p>
	<ul class="tags">
				<li><span class="field">return:</span> bytes representing this entry.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getBytes
		</span>
					(<span class="var-type">PelByteOrder</span>&nbsp;<span class="var-name">$o</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">PelByteOrder</span>
				<span class="var-name">$o</span><span class="var-description">: the desired byte order, which must be either  <a href="../PEL/PelConvert.html#constLITTLE_ENDIAN">PelConvert::LITTLE_ENDIAN</a> or <a href="../PEL/PelConvert.html#constBIG_ENDIAN">PelConvert::BIG_ENDIAN</a>.</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../PEL/PelEntry.html#methodgetBytes">PelEntry::getBytes()</a></dt>
						<dd>Turn this entry into bytes.</dd>
					</dl>
			
	</div>
<a name="methodgetText" id="getText"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getText</span> (line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a294">294</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the numeric value of this entry as text.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the numbers(s) held by this entry.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getText
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$brief</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$brief</span><span class="var-description">: use brief output?  The numbers will be separated  by a single space if brief output is requested, otherwise a space  and a comma will be used.</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../PEL/PelEntry.html#methodgetText">PelEntry::getText()</a></dt>
						<dd>Get the value of this entry as text.</dd>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../PEL/PelEntryShort.html#methodgetText">PelEntryShort::getText()</a>
								: Get the value of an entry as text.
							</li>
					<li>
				<a href="../PEL/PelEntryRational.html#methodgetText">PelEntryRational::getText()</a>
								: Get the value of an entry as text.
							</li>
					<li>
				<a href="../PEL/PelEntrySRational.html#methodgetText">PelEntrySRational::getText()</a>
								: Get the value of an entry as text.
							</li>
				</ul>
	</div>
<a name="methodgetValue" id="getValue"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getValue</span> (line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a170">170</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the numeric value held.</p>
	<ul class="tags">
				<li><span class="field">return:</span> this will either be a single number if there is  only one component, or an array of numbers otherwise.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int|array</span>
		<span class="method-name">
			getValue
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../PEL/PelEntry.html#methodgetValue">PelEntry::getValue()</a></dt>
						<dd>Get the value of this entry.</dd>
					</dl>
			
	</div>
<a name="methodnumberToBytes" id="numberToBytes"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/AbstractMethod.png" />
		<span class="method-title">numberToBytes</span> (line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a237">237</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convert a number into bytes.</p>
<p class="description"><p>The concrete subclasses will have to implement this method so  that the numbers represented can be turned into bytes.</p><p>The method will be called once for each number held by the entry.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> bytes representing the number given.</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			numberToBytes
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$number</span>, <span class="var-type">PelByteOrder</span>&nbsp;<span class="var-name">$order</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$number</span><span class="var-description">: the number that should be converted.</span>			</li>
					<li>
				<span class="var-type">PelByteOrder</span>
				<span class="var-name">$order</span><span class="var-description">: one of <a href="../PEL/PelConvert.html#constLITTLE_ENDIAN">PelConvert::LITTLE_ENDIAN</a> and  <a href="../PEL/PelConvert.html#constBIG_ENDIAN">PelConvert::BIG_ENDIAN</a>, specifying the target byte order.</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../PEL/PelEntryShort.html#methodnumberToBytes">PelEntryShort::numberToBytes()</a>
								: Convert a number into bytes.
							</li>
					<li>
				<a href="../PEL/PelEntrySShort.html#methodnumberToBytes">PelEntrySShort::numberToBytes()</a>
								: Convert a number into bytes.
							</li>
					<li>
				<a href="../PEL/PelEntryLong.html#methodnumberToBytes">PelEntryLong::numberToBytes()</a>
								: Convert a number into bytes.
							</li>
					<li>
				<a href="../PEL/PelEntrySLong.html#methodnumberToBytes">PelEntrySLong::numberToBytes()</a>
								: Convert a number into bytes.
							</li>
					<li>
				<a href="../PEL/PelEntryByte.html#methodnumberToBytes">PelEntryByte::numberToBytes()</a>
								: Convert a number into bytes.
							</li>
					<li>
				<a href="../PEL/PelEntrySByte.html#methodnumberToBytes">PelEntrySByte::numberToBytes()</a>
								: Convert a number into bytes.
							</li>
				</ul>
	</div>
<a name="methodsetValue" id="setValue"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setValue</span> (line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a136">136</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Change the value.</p>
<p class="description"><p>This method can change both the number of components and the  value of the components.  Range checks will be made on the new  value, and a <a href="../PEL/Exception/PelOverflowException.html">PelOverflowException</a> will be thrown if the  value is found to be outside the legal range.</p><p>The method accept several number arguments.  The <a href="../PEL/PelEntryNumber.html#methodgetValue">getValue</a>  method will always return an array except for when a single  number is given here.</p></p>
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../PEL/PelEntryNumber.html#methodgetValue">PelEntryNumber::getValue()</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setValue
		</span>
					(<span class="var-type">int|array</span>&nbsp;<span class="var-name">$value...</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int|array</span>
				<span class="var-name">$value...</span><span class="var-description">: the new value(s).  This can be zero or  more numbers, that is, either integers or arrays.  The input will  be checked to ensure that the numbers are within the valid range.  If not, then a <a href="../PEL/Exception/PelOverflowException.html">PelOverflowException</a> will be thrown.</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../PEL/PelEntry.html#methodsetValue">PelEntry::setValue()</a></dt>
						<dd>Set the value of this entry.</dd>
					</dl>
			
	</div>
<a name="methodsetValueArray" id="setValueArray"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setValueArray</span> (line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a155">155</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Change the value.</p>
<p class="description"><p>This method can change both the number of components and the  value of the components.  Range checks will be made on the new  value, and a <a href="../PEL/Exception/PelOverflowException.html">PelOverflowException</a> will be thrown if the  value is found to be outside the legal range.</p></p>
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../PEL/PelEntryNumber.html#methodgetValue">PelEntryNumber::getValue()</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setValueArray
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$value</span><span class="var-description">: the new values.  The array must contain the new  numbers.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalidateNumber" id="validateNumber"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">validateNumber</span> (line <span class="line-number"><a href="../__filesource/fsource_PEL__PelEntryNumber.php.html#a191">191</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validate a number.</p>
<p class="description"><p>This method will check that the number given is within the range  given my getMin() and getMax(), inclusive.  If  not, then a <a href="../PEL/Exception/PelOverflowException.html">PelOverflowException</a> is thrown.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> nothing, but will throw a <a href="../PEL/Exception/PelOverflowException.html">PelOverflowException</a> if the number is found to be outside the  legal range and Pel::$strict is true.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			validateNumber
		</span>
					(<span class="var-type">int|array</span>&nbsp;<span class="var-name">$n</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int|array</span>
				<span class="var-name">$n</span><span class="var-description">: the number in question.</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../PEL/PelEntry.html">PelEntry</a></span></p>
					<blockquote>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../PEL/PelEntry.html#methodgetBytes">PelEntry::getBytes()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../PEL/PelEntry.html#methodgetComponents">PelEntry::getComponents()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../PEL/PelEntry.html#methodgetFormat">PelEntry::getFormat()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../PEL/PelEntry.html#methodgetIfdType">PelEntry::getIfdType()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../PEL/PelEntry.html#methodgetTag">PelEntry::getTag()</a></span><br>
													<img src="../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../PEL/PelEntry.html#methodgetText">PelEntry::getText()</a></span><br>
													<img src="../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../PEL/PelEntry.html#methodgetValue">PelEntry::getValue()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../PEL/PelEntry.html#methodsetIfdType">PelEntry::setIfdType()</a></span><br>
													<img src="../media/images/AbstractMethod.png" alt=" "/>
							<span class="method-name"><a href="../PEL/PelEntry.html#methodsetValue">PelEntry::setValue()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../PEL/PelEntry.html#method__toString">PelEntry::__toString()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Tue, 19 Dec 2006 01:08:20 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0</a>
                <a target="_top" href="http://sourceforge.net/"><img src="http://sourceforge.net/sflogo.php?group_id=108380&amp;type=1" width="88" height="31" border="0" align="right" alt="SourceForge.net Logo" /></a>
	</p>
	</div></body>
</html>